Mutable Vec1
A mutable one-dimensional vector with a double-precision component.
Functions
Calculate the angle between this vector and another vector.
Returns the number of dimensions of the spatial object.
Compute the distance to another point.
Calculate the dot product of this vector with another vector.
Checks if two vectors are equal within a specified tolerance.
Returns true if any value in the spatial is infinite.
Subtracts another vector from this vector.
Normalizes the vector.
Calculates the squared norm of the vector.
Adds another vector to this vector.
Scale this vector by a scalar value.
Returns this vector as an immutable Vec1.
Returns a mutable copy of this vector as a MutableVec1.
Negates the vector, flipping its direction.
Creates a vector with the specified component.
Get Zero vector.